package com.jiulong.dao;

import com.jiulong.model.TPrivilege;
import com.jiulong.model.TPrivilegeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TPrivilegeMapper {
    long countByExample(TPrivilegeExample example);

    int deleteByExample(TPrivilegeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TPrivilege record);

    int insertSelective(TPrivilege record);

    List<TPrivilege> selectByExample(TPrivilegeExample example);

    TPrivilege selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TPrivilege record, @Param("example") TPrivilegeExample example);

    int updateByExample(@Param("record") TPrivilege record, @Param("example") TPrivilegeExample example);

    int updateByPrimaryKeySelective(TPrivilege record);

    int updateByPrimaryKey(TPrivilege record);
}